package com.triones.yjj.service;

import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.common.core.page.TableDataInfo;
import com.triones.yjj.entity.vo.*;
import org.apache.poi.ss.formula.functions.T;

import java.util.List;

/**
 * 邀请奖励 service 接口
 *
 * @Author: triones
 */
public interface InviteRewardService {

    /**
     * 邀请奖励列表列表
     * @param activityId
     * @param pageQuery
     * @return
     */
    TableDataInfo<WxInviteRewardVO> selectPageList(Long activityId, PageQuery pageQuery);

    Double getActivityRewardAmount(Long activityId, Long userId);

    /**
     * 礼品核销
     * @param staffVO
     * @param verificationCode
     * @return
     */
    R<T> staffVerificationReward(WxStaffDetailVO staffVO, String verificationCode);

    /**
     * 客户核销礼品
     * @param memberDetailVO
     * @param verificationCode
     * @param staffId
     * @return
     */
    R<T> memberVerificationReward(MemberDetailVO memberDetailVO, String verificationCode, Long staffId);


    /**
     * 核销礼品详情
     * @param verificationCode
     * @return
     */
    WxMemberInviteRewardVO getMemberRewardInfoByCode(String verificationCode);

    /**
     * 待核销礼品列表
     * @param memberId
     * @return
     */
    List<WxMemberInviteRewardVO> getMemberRewardList(Long memberId,Long userId);
}
